﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo11
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入运算符：+，-，*，/");
            char s = char.Parse(Console.ReadLine());
          
            switch (s)
            {
                case'+':
                    jia j = new jia();
                    j.DisplayResult();
                    break;
                case '-':
                    jian ji = new jian();
                    ji.DisplayResult();
                    break;
                case '*':
                    cheng c = new cheng();
                    c.DisplayResult();
                    break;
                case '/':
                    chu ch = new chu();
                    ch.DisplayResult();
                    break;
            }
            Console.ReadKey();
        }
    }
}
